using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Unity.Per.Common.UIFrameWork
{
    public abstract class BasePanel :BaseModuleMono
    {
        public BindPanel bindPanel;


        public abstract bool is2D { get; }

        protected override void OnModuleInit() {
            base.OnModuleInit();
            
            if ( bindPanel == null ) {
                //Debug.Log("OnModuleInit No bindPanel");
                return;
            }
        }

        protected override void OnModuleStart() {
            base.OnModuleStart();
            gameObject.SetActive(true);
        }

        protected override void OnModuleStop() {
            base.OnModuleStop();
            gameObject.SetActive(false);
        }
    }

}
